package com.zhanghu.backendZray.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.zhanghu.backendZray.pojo.dto.douyinHot.DouyinHotDTO;
import com.zhanghu.backendZray.pojo.entity.DouyinHot;
import com.zhanghu.backendZray.pojo.vo.douyin.DouyinHotVo;

import java.util.List;

/**
 * <p>
 * 抖音热点 服务类
 * </p>
 *
 * @author zhangdong
 * @since 2025-01-20
 */
public interface DouyinHotService extends IService<DouyinHot> {

    /**
     * 获取抖音热点
     */
    List<DouyinHotVo> getHot();

    /**
     * 删除所有并保存新数据
     */
    void removeAllAndSave(List<DouyinHotDTO> list);
}
